﻿using System;

namespace MQTTServer.Models
{
    /// <summary>
    /// 陌生人人员信息上传
    /// </summary>
    public class StrSnapPush
    {
        /// <summary>
        ///  陌生人抓拍推送(char)
        /// </summary>
        public string @operator { get; set; }

        /// <summary>
        ///  StrSnapPushInfo
        /// </summary>
        public StrSnapPushInfo info { get; set; }
    }

    public class StrSnapPushInfo
    {
        /// <summary>
        ///  陌生人抓拍库 ID,用于断网续传时 回复人脸识别一体机
        /// </summary>
        public int SnapID { get; set; }
        /// <summary>
        /// 一体机设备号 id,返回值
        /// </summary>
        public string? facesluiceId { get; set; }
        /// <summary>
        /// 一体机名称
        /// </summary>
        public string? facesluiceName { get; set; }
        /// <summary>
        /// 陌生人抓拍时间
        /// </summary>
        public DateTime? time { get; set; }
        /// <summary>
        /// 一体机进出口方向  进口:"entr" ，出口:"exit" , 无方向: "unknow"
        /// </summary>
        public string? direction { get; set; }
        /// <summary>
        /// 图片的 base64 编码(1M 以内)
        /// </summary>
        public string? pic { get; set; }
    }
}